﻿@namespace LayuiBlazor.Components
@typeparam TValue
@inherits ValidateBase<TValue>

@if (IsShowLabel)
{
<label class="layui-form-label">@DisplayText</label>
}
<div class="@LineStyle">
    <input @attributes="AdditionalAttributes" type="@Type" id="@Id" name="title" @bind-value="@CurrentValueAsString" required lay-verify="required" placeholder="@PlaceHolder" autocomplete="off" class="@ClassName" disabled="@DisabledString">
</div>
<CascadingValue Value="this" IsFixed="true">
    @ChildContent
</CascadingValue> 